package com.taoym.voucher.xcx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @coder taoym
 * @datetime 2021/8/30 22:52
 * @desc
 */
@Data
@TableName(value = "xcx_promotion")
public class XcxPromotion implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动编号
     */
    @TableField(value = "act_id")
    private Integer actId;

    /**
     * 活动平台
     */
    @TableField(value = "platform")
    private Integer platform;

    /**
     * 小程序appId
     */
    @TableField(value = "app_id")
    private String appId;

    /**
     * 小程序码
     */
    @TableField(value = "mini_code")
    private String miniCode;

    /**
     * 要跳转到的小程序页路径
     */
    @TableField(value = "page_path")
    private String pagePath;

    /**
     * h5短链接
     */
    @TableField(value = "h5")
    private String h5;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 20
     */
    @TableField(value = "`uid`")
    private String uid;

    private static final long serialVersionUID = 1L;
}
